#include<stdio.h>

double pot(double x, int n){
							if (n==0) return 1;           
							else return x*pot(x,n-1);	       
							}

int main(){
				double x,r;
				int i = 0;
				printf("\n\n Ingrese un entero \n\n");
				scanf("%lf",&x);

				while (i<5){
						r = pot(x,i);
						printf("\n La %i-potencia de %lf es %lf \n",i,x,r);
						i = i+1;
						}	
return 0;
}
